package com.site.wisdom_construction.service.partyConstructionModule;

import com.site.wisdom_construction.dao.partyConstructionModule.PartyConstructionPhotoDao;
import com.site.wisdom_construction.entity.partyConstructionModule.PartyConstructionPhoto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/19
 * @Description
 */
@Service
public class PartyConstructionPhotoService implements PartyConstructionPhotoDao {
    @Autowired
    private PartyConstructionPhotoDao partyConstructionPhotoDao;

    @Override
    public int insertPartyConstructionPhoto(Map map) {
        return partyConstructionPhotoDao.insertPartyConstructionPhoto(map);
    }

    @Override
    public int deletePartyConstructionPhoto(Map map) {
        return partyConstructionPhotoDao.deletePartyConstructionPhoto(map);
    }

    @Override
    public int updatePartyConstructionPhoto(Map map) {
        return partyConstructionPhotoDao.updatePartyConstructionPhoto(map);
    }

    @Override
    public List<PartyConstructionPhoto> findPartyConstructionPhotoByPage(Map map) {
        return partyConstructionPhotoDao.findPartyConstructionPhotoByPage(map);
    }

    @Override
    public long Total(Map map) {
        return partyConstructionPhotoDao.Total(map);
    }

    @Override
    public List<PartyConstructionPhoto> selectPartyConstructionPhoto(Map map) {
        return partyConstructionPhotoDao.selectPartyConstructionPhoto(map);
    }
}
